#ifndef AW_LOCAL_VIEWPORT_NOOSTEXTFTERM
#define AW_LOCAL_VIEWPORT_NOOSTEXTFTERM

class AW_LVP_NOOSTextFTerm : public AW_LocalViewport {

public:
	AW_LVP_NOOSTextFTerm(int x,int y,int dx,int dy,FeatureTerm *ft,FTKBase *dm);
	~AW_LVP_NOOSTextFTerm();

	FeatureTerm *get_ft(void);

protected:
	virtual void draw_internal(void);
	virtual bool MouseClick_internal(int selected);

	FTFont* m_font;

	FeatureTerm *m_ft;
	FTKBase *m_domainmodel;

	float m_zoom;
	float m_desired_zoom;

	float m_center_x,m_center_y;

	/* Data needed to draw the FeatureTerm: */ 
	List<char> m_lines;
};

#endif

